import { createStore, applyMiddleware, combineReducers } from "redux";
import thunk from "redux-thunk";
import {composeWithDevTools} from 'redux-devtools-extension'

// import cashier_orderItem_reduce from "./reduces/cashier_orderItem_reduce";
import {
  cashier_order_reduce,
  cashier_search_reduce
} from "./reduces/cashier_order_reduce";

var allData = combineReducers({
  //   cashireOrderItem: cashier_orderItem_reduce,
  
  cashierSearch: cashier_search_reduce,
  cashierOrder: cashier_order_reduce,
});

export default createStore(allData,composeWithDevTools(applyMiddleware(thunk)) );
